Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
authorTor Lillqvist <tml@novell.com>
Mon, 4 Aug 2008 22:57:36 +0000 (22:57 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 4 Aug 2008 22:57:36 +0000 (22:57 +0000)
commiteff4be5c8de9642fdd39e667e53ccca58b9070ef
treed91ab4b0c80d69b8cfb03231c5908af2a47639bf
parentf4d9ce22f48d8b61d88a11aa9b5033f46db9aaaf
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit

2008-08-05  Tor Lillqvist  <tml@novell.com>

Bug 544684 - Win64 issue, window handles are assumed to be 32-bit

* gtk/gtkwindow.h
* gtk/gtkwindow.c: Change the type of the xid parameter of the
internal gtk_window_remove_embedded_xid() and
gtk_window_add_embedded_xid() functions from guint to
GdkNativeWindow.

* gtk/gtkwindow.c (send_client_message_to_embedded_windows):
Instead of GPOINTER_TO_UINT(), just cast the gpointer to
GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
Win64.

svn path=/trunk/; revision=20992
ChangeLog
gtk/gtkwindow.c
gtk/gtkwindow.h